#ifndef __PANIC_H_
#define __PANIC_H_

void panic(char *info);

#define assert(x)                                       \
    do {                                                \
        if (!(x)) {                                     \
            panic("assertion failed: %s", #x);          \
        }                                               \
    } while (0)

#endif
